﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using SHDQGSWEB.Models;

namespace SHDQGSWEB.Controllers
{
    [HandleError]
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            var ads = new AdsRepository();
            ViewData["ads"] = ads.GetHomeAds().ToList();
            return View();
        }

        public ActionResult About()
        {
            return View();
        }
        public ActionResult Company()
        {
            return View();
        }
        public ActionResult Honor()
        {
            return View();
        }
        public ActionResult Download()
        {
            return View();

        }
        public ActionResult Product()
        {
            return View();
        }
        public ActionResult News()
        {
            return View();
        }
    }
}
